package com.mfangsoft.zhuangjialong.common.utils;

import java.util.ResourceBundle;


public class PropUtis {
	
	private static ResourceBundle RESOURCE_BUNDLE=null;
	
	/**************************环信*******************************/
	public final static String EASEMOBIM_CLIENT_ID = "easemobIM.client_id";
	public final static String EASEMOBIM_CLIENT_SECRET = "easemobIM.client_secret";
	public final static String EASEMOBIM_SEND_REG_URL = "easemobIM.send_reg_url";
	public final static String EASEMOBIM_SEND_TOKEN_URL = "easemobIM.send_token_url";
	public final static String EASEMOBIM_IM_PW = "easemobIM.im_pw";
	
	/***************************流量********************************/
	public final static String FLOW_TOKEN="flow.token";// 分配给您的准入TOKEN，必选
	public final static String FLOW_APPID="flow.appId"; // 分配给您的准入APPID，必选
	
	
	/***************************短信********************************/
	public final static String SMS_USERNAME="sms.username";//用户名
	public final static String SMS_PASSWORD_MD5="sms.password_md5";//密码
	public final static String SMS_APIKEY="sms.apikey"; //apikey秘钥（请登录 http://m.5c.com.cn 短信平台-->账号管理-->我的信息 中复制apikey）
	
	
	/***************************微信********************************/
	public final static String WEIXIN_APPID="weixin.appid";//微信appid
	public final static String WEIXIN_SECRET="weixin.secret";//微信secret
	
	/***************************路径********************************/
	public static final String FILE_PATH = "file.path";
	public static final String FILE_URL = "file.url";
	public static final String VIDEO_FILE_PATH = "video.file.path";
	public static final String VIDEO_FILE_URL = "video.file.url";
	
	
	 static {  RESOURCE_BUNDLE = ResourceBundle.getBundle("sys");
	 
	 }
	
	
	public static  String  getValue(String key){
		
		return RESOURCE_BUNDLE.getString(key);
	}
	
	
	public static void main(String[] args) {
		
		PropUtis.getValue("file.path");
	}

}
